//
//  SHHomeModelView.h
//  JiFengDaRen
//
//  Created by SH_iOS on 2017/6/6.
//  Copyright © 2017年 SH_iOS. All rights reserved.
//

#import <Foundation/Foundation.h>
@class HomeNoticeModel;
@class HomeNewsDetailModel;
@interface SHHomeModelView : NSObject



/********    我是瀚付  ********/

/**
  我是瀚付获取可用的银联支付方式
 
 @param success  cash_type　：(0, "瀚银支付"),(1, "山奇支付"),(2, "上福支付"),
 */
+ (void)getPayChoiceCashTypeSuccess:(void(^)(NSInteger cashType))success;


/**
 检查用户是否能使用杉德支付
 
 @param success  1 可以使用杉德收款 0 不能使用杉德收款
 */
+ (void)checkSdPayMethodByUserSuccess:(void(^)(NSInteger status))success;



/**
 荣邦支付银联收款
 **/
/**
 荣邦支付查询注册状态
 */
+ (void)rongbangPaymentGetApplyViewSuccess:(void(^)(int  status))success;

/**
 荣邦支付上传图片
 
 @param fileType 图片类型 1010-手持身份证,1011-身份证正面,1011-身份证正面,1012-身份证反面,1020-银行卡正面,1021-银行卡反面,1022-手持银行卡正面,1023-信用卡正面
 @param suffix 图片后缀
 @param content 图片二进制流经过base64编码的字符串
 */
+ (void)rongbangPaymentUploadImageFileType:(NSString *)fileType suffix:(NSString *)suffix content:(NSString *)content success:(void(^)(id  result))success;


/**
 荣邦支付商户注册
 用户选择绑定到荣邦后台的银行卡id，用于入账
 @param bankId 银行卡id
 */
+ (void)rongbangPaymentMerchantsApplyBankId:(NSString *)bankId;



/**
 荣邦支付收款
 
 @param amount  金额 50-20000
 @param success
 */
+ (void)rongbangPaymentOrderPay:(NSString *)amount
                        success:(void(^)(id result ))success;

/**
 瀚银银联支付收款
 **/

/**
 查询瀚银支付注册状态
 
 @param success 1 商户已经注册成 0 商户未注册
 */
+ (void)hanyinInGetApplyViewSuccess:(void(^)(int  status))success ;


/**
 瀚银支付注册
 
 @param bankId 银行卡id
 */
+ (void)hanyinInNetBankId:(NSString *)bankId;


/**
 瀚银支付收款
 
 @param bankId  银行卡id
 @param amount  金额
 @param success 支付成功回调
 */

+ (void)hanyinPayDataBankId:(NSString *)bankId
                     amount:(NSString *)amount
                    success:(void(^)(id result))success;



/**
 上福银联支付收款
 **/

/**
 查询上福支付注册状态
 
 @param success 1 已经注册 0 未注册
 */

+ (void)shangfuInGetApplyViewPassageway:(NSString *)passageway success:(void(^)(int  status))success;
+ (void)shangfuInGetApplyViewSuccess:(void(^)(int  status))success ;



/**
 上福支付商户注册
 
 @param bankId 银行卡id
 @param passageway 进件通道
 */
+ (void)shangfuInNetBankId:(NSString *)bankId passageway:(NSString *)passageway;
/**
 上福支付商户注册
 
 @param bankId 银行卡id
 */

+ (void)shangfuInNetBankId:(NSString *)bankId;



/******
 合刷银联支付
 ******/

/**
 查询合刷支付商户注册状态
 
 @param success
 */
+ (void)heShuaInGetApplyViewSuccess:(void(^)(int  status))success;


/**
 合刷商户注册
 
 @param bankId 收款卡id
 */
+ (void)heShuaInNetBankId:(NSString *)bankId;



/**
 合刷支付收款
 
 @param amount 金额
 @param bankCardNo 付款卡卡号
 */
+ (void)heShuaInPayAmount:(NSString *)amount
               bankCardNo:(NSString *)bankCardNo;


/******
 银商微信 支付宝支付收款
 *****/

/**
 查询银商商户注册状态
 @param success 1 注册成功 0 未注册
 */
+ (void)yingshangInGetApplyViewSuccess:(void(^)(int  status))success;

/**
 银商商户注册
 @param bankId  银行卡id
 */
+ (void)yingshangInNetBankId:(NSString *)bankId;

/**
 银商支付 微信收款
 
 @param amount 支付金额
 @param success  支付成功回调
 */
+ (void)yingshangWechatPayCashAmount:(NSString *)amount
                             success:(void(^)(id  result))success;

/**
 银商支付 支付宝收款
 
 @param amount  支付金额
 @param success 支付成功回调
 */
+ (void)yingshangAliPayCashAmount:(NSString *)amount
                          success:(void(^)(id  result))success;


/**
 银商支付 修改收款卡
 
 @param bankCardId 银行卡id
 */
+ (void)yingshangChangeSettleBankCardWithBankCardId:(NSString *)bankCardId;






/**
 富汇通银联支付 查询商户注册状态
 
 @param regType 用途
 (1, "还吧"),
 (2, "微信"),
 (3, "充值"),
 (4, "大额cash"),
 (5, "小额cash"),
 @param success <#success description#>
 */
+ (void)fuhuitongGetApplyViewRegType:(NSString *)regType
                             Success:(void(^)(int  status))success;
/**
 富汇通银联支付 商户注册

 @param bankCardCode  收款卡卡号
 @param regTypel  用途
 */
+ (void)fuhuitognPostNetbankCardCode:(NSString *)bankCardCode
                             regType:(NSString *)regTypel;



/**
  东孝银联支付 商户注册查询

 @param success
 */
+ (void)dxInGetApplyViewSuccess:(void(^)(int  status))success;


/**
 东孝银联支付 商户注册

 @param withdrawBankId 收款卡id
 */
+ (void)dxInNetWithdrawBankId:(NSString *)withdrawBankId;


/**
 东孝银联支付商户查询付款卡签约状态
 
 @param payBankId 付款卡id
 */
+ (void)dxQuerySigningtWithPayBankId:(NSString *)payBankId
                             Success:(void(^)(int  status))success;


/**
 东孝商户查询付款卡签约


 @param payBankId 付款卡id
 */
+ (void)dxSigningPageInInNetPayBankId:(NSString *)payBankId
                              Success:(void(^)(NSString * signingPageUrl))success;











/**
 易宝支付 银联收款
 查询商户注册状态
 @param success status 0 未注册  1 已注册
 */
+ (void)ybInGetApplyViewSuccess:(void(^)(int  status))success;

/**
 易宝支付 银联收款
 商户注册
 @param bankId  银行卡id
 */
+ (void)ybInNetWithdrawBankId:(NSString *)bankId;


/**
 易宝支付 银联收款
 查询商户实名认证图片  收款卡图片是否完整
 @param bankCardId  注册需要绑定的收款卡卡号
 @param complection 完成 authStatus 实名信息状态   bankStatus 银行卡信息状态
 */
+ (void)userQueryAuthBankInfoWithBankCardId:(NSString *)bankCardId
                                complection:(void(^)(BOOL authStatus,BOOL bankStatus))complection;

        
/**
 我是瀚付银联支付统一收款接口

 @param paymentType 收款类型
 @param bankId 银行卡id
 @param amount 收款金额
 @param success 成功返回 webView 请求地址 postUrl 请求参数 psotData
 */
+ (void)myhanPayDataPaymentType:(NSInteger)paymentType
                         bankId:(NSString *)bankId
                         amount:(NSString *)amount
                        success:(void(^)(NSString *postUrl,NSDictionary *postData))success;


/**
 获取我是瀚付通知数据
 
 @param screenType 00 收款页面通知   01充值页面通知
 */
+ (void)shShowNoticeScreenType:(NSString *)screenType
                       success:(void(^)(HomeNoticeModel *noticeModel))success;



/**
 实名认证
 人脸识别上传认证成功之后的图片
 
 @param name 姓名
 @param idNo 身份证号
 @param authImg 认证成功之后的图片
 @param success <#success description#>
 */
+ (void)psbAuthName:(NSString *)name
               idNo:(NSString *)idNo
            authImg:(NSString *)authImg
            Success:(void(^)(BOOL suceesss))success;

@end

